﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.PM
{
    /// <summary>
    /// 工作项的树
    /// </summary>
    [Serializable]
    public class WorkItemTree
    {
        /// <summary>
        /// 编号
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Caption { get; set; }
        /// <summary>
        /// 类别编号，
        /// 管理的维度编号
        /// </summary>
        public string CategoryCode { get; set; }

        public Guid WorkItemCategoryId { get; set; }

        public int Level { get; set; }

        public int State { get; set; }

        public List<WorkItemRef> Children { get; set; }

        public WorkItemTree()
        {
            Children = new List<WorkItemRef>();
        }
    }
}
